import { createApp } from 'vue'
import { createPinia } from 'pinia'

import element from './libs/element/index'

import AutoImportComponent from './utils/auto-import-component'
import App from './App.vue'
import router from './router'

import config from './config/index'

import './styles/index.scss'
import '@/libs/iconfont/iconfont.css'

const app = createApp(App)

app.use(createPinia())
app.use(element)
app.use(router)
app.use(AutoImportComponent)

app.mount('#app')
